const express = require('express')
const router = express.Router()
const cityService = require('services/city')

router.get('/', async (req, res) => {
  let cities = await cityService.getAll()
  res.json(cities)
})

module.exports = router